package com.kokoiko.customview;

import android.content.Context;
import android.view.LayoutInflater;
import android.widget.GridView;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.ListView;
import android.widget.TextView;

import com.kokoiko.R;

public class KokoikoListView extends LinearLayout {

	ImageView avatar;
	TextView comment;
	ImageView shop_icon;
	TextView shop_name;
	TextView shop_address;
	TextView lead_number;
	GridView lead_avatar;
	TextView time;

	LinearLayout lead;

	public KokoikoListView(Context context) {
		super(context);
		// TODO Auto-generated constructor stub
		LayoutInflater inf = (LayoutInflater) this.getContext()
				.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
		inf.inflate(R.layout.kokoiko_list, this, true);

		avatar = (ImageView) findViewById(R.id.avatar);
		comment = (TextView) findViewById(R.id.comment);
		shop_icon = (ImageView) findViewById(R.id.shop_icon);
		shop_name = (TextView) findViewById(R.id.shop_name);
		shop_address = (TextView) findViewById(R.id.shop_address);
		time = (TextView) findViewById(R.id.time);
		lead_number = (TextView) findViewById(R.id.lead_num);
		lead_avatar = (GridView) findViewById(R.id.lead_avatar);

		lead = (LinearLayout) findViewById(R.id.lead);

	}

}
